<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: pink;

            transition: all 1s;

        }

        /* 鼠标悬停动态效果 */
        div:hover{
            /* 平移  旋转  缩放  倾斜*/
            transform: translate(100px, 100px) rotate(45deg) scale(2) skew(180deg);
            background-size: cover;

            background-image: url(./pic1.jpg);
        }

    </style>

</head>
<body>
    <div class=""></div>
</body>
</html>